import React from "react";
import { connect } from "react-redux";
import { Tooltip } from "antd";
import  * as Icon from '@ant-design/icons';
import { toggleSettingPanel } from "@/store/actions";
import "./index.less";
const Settings = (props) => {
	const { toggleSettingPanel } = props;
	return (
    <div className="setting-drawer">
		<div className="setting-drawer-index-handle">
			{React.createElement(Icon['SettingOutlined'], {
				onClick: toggleSettingPanel,
			})}
		</div>
    </div>
	);
};

export default connect(null, { toggleSettingPanel })(Settings);
